javascript interview question write polyfill for reduce method

visit shbcf.ru